package com.ddwl.wallet.dao.mapper;

import com.ddwl.schema.bo.wallet.WalletFlowStatisticsQueryBo;
import com.ddwl.wallet.dao.dto.WalletFlowStatisticsDto;
import com.ddwl.wallet.dao.model.UserWalletFlow;
import com.ddwl.common.dao.mapper.TkMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserWalletFlowMapper extends TkMapper<UserWalletFlow> {

    /**
     * 用户资金变动流水统计
     * @param dto
     * @return
     */
    List<WalletFlowStatisticsDto> queryMonthlyReport(@Param("dto") WalletFlowStatisticsQueryBo dto);
}
